package com.trkj.vo;

public class Info {
	private boolean success;
	private String reason;

	/**
	 * 成功处理请求
	 */
	public Info() {
		super();
		this.success = true;
	}

	/**
	 * 请求处理失败
	 * @param reason
	 */
	public Info(String reason) {
		super();
		this.success = false;
		this.reason = reason;
	}



	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}
